/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.domain;

import lombok.*;
import com.baomidou.mybatisplus.annotation.*;
import com.shanhesoft.java.common.core.annotation.DictType;
import com.shanhesoft.java.common.persistence.domain.IdEntity;

import javax.validation.constraints.Size;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.*;

/**
 * 编程语言管理Entity 编程语言管理
 * @author admin
 * @version 2020-09-26 20:35:22
 */
@TableName(value = "oj_languages")
@Data @ToString @NoArgsConstructor @AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class OjLanguages extends IdEntity<OjLanguages> {

	private static final long serialVersionUID = 1L;
	/** F_LANGUAGESLUG language_slug  :  编程语言的唯一英文缩写 */
	public static final String F_LANGUAGESLUG = "languageSlug";
	/** F_LANGUAGENAME language_name  :  语言名称 */
	public static final String F_LANGUAGENAME = "languageName";
	/** F_LANGUAGECOMPILECOMMAND language_compile_command  :  编译命令 */
	public static final String F_LANGUAGECOMPILECOMMAND = "languageCompileCommand";
	/** F_LANGUAGERUNCOMMAND language_run_command  :  运行命令 */
	public static final String F_LANGUAGERUNCOMMAND = "languageRunCommand";


	/** languageSlug 编程语言的唯一英文缩写 */@NotBlank @Size(max=16)
	@TableField("language_slug")
	private String languageSlug;
	/** languageName 语言名称 */@NotBlank @Size(max=16)
	@TableField("language_name")
	private String languageName;
	/** languageCompileCommand 编译命令 */@NotBlank @Size(max=128)
	@TableField("language_compile_command")
	private String languageCompileCommand;
	/** languageRunCommand 运行命令 */@NotBlank @Size(max=128)
	@TableField("language_run_command")
	private String languageRunCommand;


	@Override
    public boolean equals(Object o) {
        return super.equals(o);
    }
    @Override
    public int hashCode() {
        return super.hashCode();
    }
}
